<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>安装</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="ldap.requirements.html">需求</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="ldap.configuration.html">运行时配置</a></div>
 <div class="up"><a href="ldap.setup.html">安装／配置</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="ldap.installation" class="section">
 <h2 class="title">安装</h2>
 <p class="para">
  LDAP support in PHP is not enabled by default. You will need to
  use the <strong class="option configure">--with-ldap[=DIR]</strong>

  configuration option when compiling PHP to enable LDAP support.
  DIR is the LDAP base install directory. To enable SASL support,
  be sure <strong class="option configure">--with-ldap-sasl[=DIR]</strong>
 is
  used, and that <var class="filename">sasl.h</var> exists on the system.
 </p>
 <blockquote class="note"><p><strong class="note">Note</strong>: 
  <strong>Note to Win32 Users</strong><br />
  <p class="para">
   为了使此扩展生效，
<acronym title="Dynamic Link Library">DLL</acronym> 文件必须能在 Windows 系统的
<em>PATH</em> 指示的路径下找到。如何操作的信息，请参见题为“<a href="faq.installation.html#faq.installation.addtopath" class="link">如何在 Windows 中将 PHP
目录加到 PATH 中</a>”的<acronym title="Frequently Asked Questions">FAQ</acronym>。虽然将
DLL 文件从 PHP 文件夹复制到 Windows 系统目录也行，但不建议这样做。
<em class="emphasis">此扩展需要下列文件在 <em>PATH</em> 路径中：</em>
   <var class="filename">libeay32.dll</var> and 
   <var class="filename">ssleay32.dll</var>
  </p>
  <span class="simpara">
   Versions before PHP 4.3.0 additionally require <var class="filename">libsasl.dll</var>.
  </span>
 </p></blockquote>
 <p class="para">
  In order to use Oracle LDAP libraries, proper <a href="oci8.requirements.html" class="link">Oracle environment</a> has to be set.
 </p>
</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="ldap.requirements.html">需求</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="ldap.configuration.html">运行时配置</a></div>
 <div class="up"><a href="ldap.setup.html">安装／配置</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
